package com.beater.controller.code;

public enum ResponseCode {
	
	SUCCESS("5000","SUCCESS"),
	SUCCESS_LOGIN("5001","登录成功"),
	ERROR_LOGIN("5002","登录失败，账号密码不对"),
	ERROR("5001","系统错误"),
	ERROR_PARAM("5005","参数错误"),
	AUTH_TOKEN_ERROR("5004","token 认证失败") ;
	
	private String code;
	private String desc ;
	
	
	
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	private ResponseCode(String code, String desc) {
		this.code = code;
		this.desc = desc;
	}
	
	

}
